package com.region.common.vo;

import java.util.List;

/**
 * @author 26225
 * @date 2024/7/7 11:56
 * @description
 */
public class Data {

    int code;

    String data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public List<Data> getListData() {
        return null;
    }

    @Override
    public String toString() {
        return "Data{" +
                "code=" + code +
                ", data='" + data + '\'' +
                '}';
    }

    public static Data getInstance() {
        Data data = new Data();
        data.setData("Hello World");
        data.setCode(12345);
        return data;
    }
}
